package com.lmb.todo.pojo;

public class Todo {

    private Integer id;

    private Integer groupId;

    private Integer done;

    private Integer star;

    private String content;

    private String note;

    private String createTime;

    private String updateTime;

    private String scheduledTime;

    public Todo() {}

    public Todo(Integer id, Integer groupId, Integer done, Integer star, String content, String note, String createTime, String updateTime, String scheduledTime) {
        this.id = id;
        this.groupId = groupId;
        this.done = done;
        this.star = star;
        this.content = content;
        this.note = note;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.scheduledTime = scheduledTime;
    }

    public Todo(Integer groupId, Integer done, Integer star, String content, String note, String createTime, String updateTime, String scheduledTime) {
        this.groupId = groupId;
        this.done = done;
        this.star = star;
        this.content = content;
        this.note = note;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.scheduledTime = scheduledTime;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public void setDone(Integer done) {
        this.done = done;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setScheduledTime(String scheduledTime) {
        this.scheduledTime = scheduledTime;
    }

    public Integer getId() {
        return id;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public Integer getDone() {
        return done;
    }

    public Integer getStar() {
        return star;
    }

    public String getContent() {
        return content;
    }

    public String getNote() {
        return note;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public String getScheduledTime() {
        return scheduledTime;
    }

    @Override
    public String toString() {
        return "Todo{" +
                "id=" + id +
                ", groupId=" + groupId +
                ", done=" + done +
                ", star=" + star +
                ", content='" + content + '\'' +
                ", note='" + note + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", scheduledTime='" + scheduledTime + '\'' +
                '}';
    }
}
